package com.fdq.dianping.service;

import com.fdq.dianping.entity.Result;
import com.fdq.dianping.entity.Voucher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fdq
 * @since 2024-12-29
 */
public interface IVoucherService extends IService<Voucher> {

    Result addSeckillVoucher(Voucher voucher);

    Result addNormalVoucher(Voucher voucher);

    Result deleteNormalVoucher(Long id);

    Result deleteSeckillVoucher(Long id);

    Result updateSeckillById(Voucher voucher);
}
